<%@page import="com.shj.entity.SysMenu"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/base.jsp"%>
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%int i=1;%>

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<base href="<%=basePath%>">

<title>慢病报销列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery-1.4.4.min.js"></script>
<script src="js/admin.js"></script>
	<script>
		const msg = '${msg}';
		if (msg !== '') {
			confirm(msg);
		}
	</script>
</head>
<body>
	<form method="post" action="<%=path %>/biz/expenses/findByCardId" id="listform">
		<div class="panel admin-panel">
			<div class="panel-head">
				<strong class="icon-reorder">慢病报销列表</strong>
			</div>
			<table class="table table-hover text-center">
				<tr>
					<th width="50">序号</th>
					<th width="50" style="text-align:center;">&nbsp;</th>
					<th>农民编号</th>
					<th>慢病名称</th>
					<th>报销年份</th>
					<th>报销金额</th>
					<th>状态</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${list}" var="i">
					<tr>
						<td><%=i++ %></td>
						<td><input type="checkbox" name="ids"
								   value="${i.expensesId}" /></td>
						<td>${i.perCode}</td>
						<td>${i.chName}</td>
						<td>${i.exYear}</td>
						<td>${i.exFree}</td>
						<c:if test="${i.status == 0}"><td>未审核</td></c:if>
						<c:if test="${i.status == 1}"><td>已审核</td></c:if>
						<c:if test="${i.status == 0}">
						<td><div class="button-group">
							<a class="button border-main"
							   href="<%=path%>/biz/expenses/examine?id=${i.id}"><span
									class="icon-edit"></span> 确认审核</a>
						</div></td>
						</c:if>
					</tr>
				</c:forEach>
			</table>
			<div class="pagelist">
				<a href="#">上一页</a>
				<a href="javascript:void(0)">上一页</a>
				<span class="current"></span>
				<a href="#"></a>
				<a href="#">下一页</a>
				<a href="javascript:void(0)">下一页</a>
				<a href="#">尾页</a>
			</div>
		</div>
	</form>
</body>
</html>